package com.erp.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("sys")

public class SystemController {
    @RequestMapping("toLogin")
    public String toLogin(){
        System.out.println("denglu");
        return "system/index/login";
    }
//跳转登录界面
    @RequestMapping("index")
    public  String toIndex(){
        System.out.println("denglu");
        return "system/index/index";
    }
    @RequestMapping("toDeptManager")
    public  String toDeptManager(){

        return "system/dept/deptmanager";
    }
    @RequestMapping("toDeptLeft")
    public  String toDeptLeft(){

        return "system/dept/deptLeft";
    }
    @RequestMapping("toDeptRight")
    public  String toDeptRight(){

        return "system/dept/deptRight";
    }
}
